package com.wz.wiki.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

/**
 * @author 王哲
 * @Contact 1121586359@qq.com
 * @ClassName WebSocketConfig.java
 * @create 2023年07月03日 下午4:07
 * @Description websocket配置类
 * @Version V1.0
 */
@Configuration
public class WebSocketConfig {

    @Bean
    public ServerEndpointExporter serverEndpointExporter() {
        return new ServerEndpointExporter();
    }

}
